\hypertarget{classTuna_1_1StructuredMesh}{
\subsection{Tuna::StructuredMesh$<$ Tadaptor $>$ Class Template Reference}
\label{classTuna_1_1StructuredMesh}\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}}
}


General structured meshes on rectangular domains.  


Inheritance diagram for Tuna::StructuredMesh$<$ Tadaptor $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classTuna_1_1StructuredMesh}
\end{center}
\end{figure}
\subsubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef Typeinfo$<$ Tadaptor $>$::\hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t}
\begin{DoxyCompactList}\small\item\em Precision for all calculations. \end{DoxyCompactList}\item 
typedef \hyperlink{structTuna_1_1TunaArray}{TunaArray}$<$ int, Typeinfo$<$ Tadaptor $>$::\hyperlink{classTuna_1_1GeneralMesh_adb1220f6fe8395185eba4973fa2e71e2}{Dim} $>$::tiny \hyperlink{classTuna_1_1StructuredMesh_a6f27858a7441687f42c83385efab65b9}{intTinyArray\_\-t}
\begin{DoxyCompactList}\small\item\em Array of ints to define extents. \end{DoxyCompactList}\item 
typedef \hyperlink{structTuna_1_1TunaArray}{TunaArray}$<$ \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t}, Typeinfo$<$ Tadaptor $>$::\hyperlink{classTuna_1_1GeneralMesh_adb1220f6fe8395185eba4973fa2e71e2}{Dim} $>$::tiny \hyperlink{classTuna_1_1StructuredMesh_a5d2e4898cfcf8d3d4d4366350ed0e794}{floatTinyArray\_\-t}
\begin{DoxyCompactList}\small\item\em Array of floats to define the deltas in each axis. \end{DoxyCompactList}\item 
typedef \hyperlink{structTuna_1_1TunaArray}{TunaArray}$<$ \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t}, 1 $>$::huge \hyperlink{classTuna_1_1StructuredMesh_a302a09126d84cb298a2b97e85fb031c1}{ScalarField1D}
\begin{DoxyCompactList}\small\item\em Arrays for numbers. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTuna_1_1StructuredMesh_a1cc9d6efd5e3372830be91d85774aeb6}{
\hyperlink{classTuna_1_1StructuredMesh_a1cc9d6efd5e3372830be91d85774aeb6}{StructuredMesh} ()}
\label{classTuna_1_1StructuredMesh_a1cc9d6efd5e3372830be91d85774aeb6}

\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{classTuna_1_1StructuredMesh_ab3cb2e800bddcbb41eb26abe3766e504}{StructuredMesh} (\hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l1, int e1)
\begin{DoxyCompactList}\small\item\em Constructor for 1D. \end{DoxyCompactList}\item 
\hyperlink{classTuna_1_1StructuredMesh_ad58a171e0b74c53f4edfa2426e9a09f4}{StructuredMesh} (\hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l1, int e1, \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l2, int e2)
\begin{DoxyCompactList}\small\item\em Constructor for 2D. \end{DoxyCompactList}\item 
\hyperlink{classTuna_1_1StructuredMesh_a595567d6c34e6a3bcc563edcac57dad7}{StructuredMesh} (\hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l1, int e1, \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l2, int e2, \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l3, int e3)
\begin{DoxyCompactList}\small\item\em Constructor for 3D. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a6b88e5491a3a15de414697675cc849ea}{
\hyperlink{classTuna_1_1StructuredMesh_a6b88e5491a3a15de414697675cc849ea}{StructuredMesh} (const \hyperlink{classTuna_1_1StructuredMesh}{StructuredMesh} \&other)}
\label{classTuna_1_1StructuredMesh_a6b88e5491a3a15de414697675cc849ea}

\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a58a9f9c65f89fa3fb996744054a3a0f3}{
Tadaptor \& \hyperlink{classTuna_1_1StructuredMesh_a58a9f9c65f89fa3fb996744054a3a0f3}{asDerived} ()}
\label{classTuna_1_1StructuredMesh_a58a9f9c65f89fa3fb996744054a3a0f3}

\begin{DoxyCompactList}\small\item\em This funtion gets an returns a reference to the derived class, using the Curiously Recursive Template Pattern (CRTP). \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1StructuredMesh_a621b58febbf4e84dc7db8c32f29a552f}{resize} (\hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l1, int e1)
\begin{DoxyCompactList}\small\item\em Resize the mesh in 1D. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1StructuredMesh_aeaa8633534592ed5c4f4d372248b9b70}{resize} (\hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l1, int e1, \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l2, int e2)
\begin{DoxyCompactList}\small\item\em Resize the mesh in 2D. \end{DoxyCompactList}\item 
void \hyperlink{classTuna_1_1StructuredMesh_ac2e97865db876f312d8692555fc12de8}{resize} (\hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l1, int e1, \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l2, int e2, \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} l3, int e3)
\begin{DoxyCompactList}\small\item\em Resize the mesh in 3D. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a2631f074dfa3ae3c2d5aebe40719d5d6}{
int \hyperlink{classTuna_1_1StructuredMesh_a2631f074dfa3ae3c2d5aebe40719d5d6}{getDimension} ()}
\label{classTuna_1_1StructuredMesh_a2631f074dfa3ae3c2d5aebe40719d5d6}

\begin{DoxyCompactList}\small\item\em Returns the dimension of the mesh. \end{DoxyCompactList}\item 
\hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} \hyperlink{classTuna_1_1StructuredMesh_a2d38e65625c19f794c0bebd9c16d7ca5}{getLength} (Axis\_\-t i)
\begin{DoxyCompactList}\small\item\em Returns the length of the mesh in each axis. \end{DoxyCompactList}\item 
\hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} \hyperlink{classTuna_1_1StructuredMesh_aaba777c073533ba2c27b21c02d6f3c7e}{getDelta} (Axis\_\-t i)
\begin{DoxyCompactList}\small\item\em Returns the deltas of the mesh in each axis. \end{DoxyCompactList}\item 
int \hyperlink{classTuna_1_1StructuredMesh_a0f91652c4a19682f5b91b356dea3b921}{getExtentNodes} (Axis\_\-t i)
\begin{DoxyCompactList}\small\item\em Returns the nodes of the mesh in each axis. \end{DoxyCompactList}\item 
int \hyperlink{classTuna_1_1StructuredMesh_a9585dedb8135e52cbee25aaf5b15f851}{getExtentVolumes} (Axis\_\-t i)
\begin{DoxyCompactList}\small\item\em Returns the volumes of the mesh in each axis. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_afab6ee34f1e25f913b7f89f44e14ad00}{
const \hyperlink{classTuna_1_1StructuredMesh_a5d2e4898cfcf8d3d4d4366350ed0e794}{floatTinyArray\_\-t} \& \hyperlink{classTuna_1_1StructuredMesh_afab6ee34f1e25f913b7f89f44e14ad00}{getLength} ()}
\label{classTuna_1_1StructuredMesh_afab6ee34f1e25f913b7f89f44e14ad00}

\begin{DoxyCompactList}\small\item\em Returns an array with the lengths of the mesh in all axes. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a28eefd152c32d59840b14801fceb553e}{
const \hyperlink{classTuna_1_1StructuredMesh_a5d2e4898cfcf8d3d4d4366350ed0e794}{floatTinyArray\_\-t} \& \hyperlink{classTuna_1_1StructuredMesh_a28eefd152c32d59840b14801fceb553e}{getDeltas} ()}
\label{classTuna_1_1StructuredMesh_a28eefd152c32d59840b14801fceb553e}

\begin{DoxyCompactList}\small\item\em Returns an array with the deltas of the mesh in all axes. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a1a6c5bec3c6ff53e460e7b643537d7e1}{
\hyperlink{classTuna_1_1StructuredMesh_a302a09126d84cb298a2b97e85fb031c1}{ScalarField1D} \hyperlink{classTuna_1_1StructuredMesh_a1a6c5bec3c6ff53e460e7b643537d7e1}{getDeltasVols} (Axis\_\-t a)}
\label{classTuna_1_1StructuredMesh_a1a6c5bec3c6ff53e460e7b643537d7e1}

\begin{DoxyCompactList}\small\item\em Returns the deltas of volumes for the case of non-\/uniform meshes. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_ab1a9871aaa219dee39dd18178d58a684}{
\hyperlink{classTuna_1_1StructuredMesh_a302a09126d84cb298a2b97e85fb031c1}{ScalarField1D} \hyperlink{classTuna_1_1StructuredMesh_ab1a9871aaa219dee39dd18178d58a684}{getDeltasFace} (Axis\_\-t a)}
\label{classTuna_1_1StructuredMesh_ab1a9871aaa219dee39dd18178d58a684}

\begin{DoxyCompactList}\small\item\em Returns the deltas of the faces for the case of non-\/uniform meshes. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_ae49efe725fd74527e5269ac3ce758201}{
const \hyperlink{classTuna_1_1StructuredMesh_a6f27858a7441687f42c83385efab65b9}{intTinyArray\_\-t} \& \hyperlink{classTuna_1_1StructuredMesh_ae49efe725fd74527e5269ac3ce758201}{getExtentNodes} ()}
\label{classTuna_1_1StructuredMesh_ae49efe725fd74527e5269ac3ce758201}

\begin{DoxyCompactList}\small\item\em Returns an array with the number of nodes of the mesh in each axis. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_abbfe82ff0c5198bca6ce9a9acf588f44}{
const \hyperlink{classTuna_1_1StructuredMesh_a6f27858a7441687f42c83385efab65b9}{intTinyArray\_\-t} \& \hyperlink{classTuna_1_1StructuredMesh_abbfe82ff0c5198bca6ce9a9acf588f44}{getExtentVolumes} ()}
\label{classTuna_1_1StructuredMesh_abbfe82ff0c5198bca6ce9a9acf588f44}

\begin{DoxyCompactList}\small\item\em Returns an array with the number of volumes of the mesh in each axis. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_af4d4ba6cd39da7f441c26a1514edff6a}{
bool \hyperlink{classTuna_1_1StructuredMesh_af4d4ba6cd39da7f441c26a1514edff6a}{calcPoints} ()}
\label{classTuna_1_1StructuredMesh_af4d4ba6cd39da7f441c26a1514edff6a}

\begin{DoxyCompactList}\small\item\em Function used to calculate the points of the mesh. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a706418d08b552d2db3567bdcf612ed3d}{
bool \hyperlink{classTuna_1_1StructuredMesh_a706418d08b552d2db3567bdcf612ed3d}{calcElements} ()}
\label{classTuna_1_1StructuredMesh_a706418d08b552d2db3567bdcf612ed3d}

\begin{DoxyCompactList}\small\item\em Function used to calculate the elements of the mesh. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Tfunct $>$ }\\bool \hyperlink{classTuna_1_1StructuredMesh_a2ddfa0e61b676522d65e521582684a54}{calcPoints} (Axis\_\-t a, Tfunct f, \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} p1=0, \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} p2=-\/1, int n=-\/1)
\begin{DoxyCompactList}\small\item\em Calculate points in edges for non-\/uniform meshes defined in the adaptor classes. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_acc966bea14f30f56f77ba35225d7b408}{
bool \hyperlink{classTuna_1_1StructuredMesh_acc966bea14f30f56f77ba35225d7b408}{calcDeltas} (Axis\_\-t a)}
\label{classTuna_1_1StructuredMesh_acc966bea14f30f56f77ba35225d7b408}

\begin{DoxyCompactList}\small\item\em Calculate the deltas for non-\/uniform meshes. \end{DoxyCompactList}\item 
\hyperlink{classTuna_1_1StructuredMesh}{StructuredMesh}$<$ Tadaptor $>$ \& \hyperlink{classTuna_1_1StructuredMesh_a35b23b52af6436f69566a173302482b8}{operator=} (const \hyperlink{classTuna_1_1StructuredMesh}{StructuredMesh}$<$ Tadaptor $>$ \&other)
\begin{DoxyCompactList}\small\item\em Make a mesh equal to other existing mesh. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_af921bd8d0279b7510d8db6f7d87652c2}{
bool \hyperlink{classTuna_1_1StructuredMesh_af921bd8d0279b7510d8db6f7d87652c2}{print} ()}
\label{classTuna_1_1StructuredMesh_af921bd8d0279b7510d8db6f7d87652c2}

\begin{DoxyCompactList}\small\item\em Print the info of the mesh on to the screen. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a5a92884f99465534c4235c87fec5d486}{
bool \hyperlink{classTuna_1_1StructuredMesh_a5a92884f99465534c4235c87fec5d486}{print} (int I, int J=-\/1, int K=-\/1)}
\label{classTuna_1_1StructuredMesh_a5a92884f99465534c4235c87fec5d486}

\begin{DoxyCompactList}\small\item\em Print the info of the mesh on to the screen (parallel version). \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTuna_1_1StructuredMesh_ac472939abf443b774c2db7b14d41582c}{
\hyperlink{classTuna_1_1StructuredMesh_a6f27858a7441687f42c83385efab65b9}{intTinyArray\_\-t} \hyperlink{classTuna_1_1StructuredMesh_ac472939abf443b774c2db7b14d41582c}{extent\_\-nodes}}
\label{classTuna_1_1StructuredMesh_ac472939abf443b774c2db7b14d41582c}

\begin{DoxyCompactList}\small\item\em Extent for nodes in the mesh. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_aa02e4ec5662120aa1035987bbe7340ac}{
\hyperlink{classTuna_1_1StructuredMesh_a6f27858a7441687f42c83385efab65b9}{intTinyArray\_\-t} \hyperlink{classTuna_1_1StructuredMesh_aa02e4ec5662120aa1035987bbe7340ac}{extent\_\-volumes}}
\label{classTuna_1_1StructuredMesh_aa02e4ec5662120aa1035987bbe7340ac}

\begin{DoxyCompactList}\small\item\em Extent for volumes in the mesh. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a0a194d778e5d3a37ded19c495aa61b75}{
\hyperlink{classTuna_1_1StructuredMesh_a5d2e4898cfcf8d3d4d4366350ed0e794}{floatTinyArray\_\-t} \hyperlink{classTuna_1_1StructuredMesh_a0a194d778e5d3a37ded19c495aa61b75}{length}}
\label{classTuna_1_1StructuredMesh_a0a194d778e5d3a37ded19c495aa61b75}

\begin{DoxyCompactList}\small\item\em Length of the mesh. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a8a86b5005b0f5a4591bb9844f8f097a0}{
\hyperlink{classTuna_1_1StructuredMesh_a5d2e4898cfcf8d3d4d4366350ed0e794}{floatTinyArray\_\-t} \hyperlink{classTuna_1_1StructuredMesh_a8a86b5005b0f5a4591bb9844f8f097a0}{delta}}
\label{classTuna_1_1StructuredMesh_a8a86b5005b0f5a4591bb9844f8f097a0}

\begin{DoxyCompactList}\small\item\em Mesh increments. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_aea159ef45b6d47b8496b18dca4cdad0d}{
vector$<$ \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} $>$ \hyperlink{classTuna_1_1StructuredMesh_aea159ef45b6d47b8496b18dca4cdad0d}{dxyz} \mbox{[}3\mbox{]}}
\label{classTuna_1_1StructuredMesh_aea159ef45b6d47b8496b18dca4cdad0d}

\begin{DoxyCompactList}\small\item\em Array of deltas for nonuniform meshes. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1StructuredMesh_a14421bdd2cb5ec4b373c9ef9f41a90ba}{
vector$<$ \hyperlink{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{prec\_\-t} $>$ \hyperlink{classTuna_1_1StructuredMesh_a14421bdd2cb5ec4b373c9ef9f41a90ba}{dface} \mbox{[}3\mbox{]}}
\label{classTuna_1_1StructuredMesh_a14421bdd2cb5ec4b373c9ef9f41a90ba}

\begin{DoxyCompactList}\small\item\em Array of deltas for faces in FV method. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
\subsubsection*{template$<$typename Tadaptor$>$class Tuna::StructuredMesh$<$ Tadaptor $>$}

This is a general class for structured meshes. The template parameter is and adaptor used to control the behavior of the Structured$<$$>$ objects. For a Finite Volume discretization the extent of the mesh is defined as shown in the next figure:  
\begin{DoxyImage}
\includegraphics[width=10cm]{mallas}
\caption{Meshes in 1D, 2D and 3D}
\end{DoxyImage}


\begin{DoxyAuthor}{Author}
Luis M. de la Cruz \mbox{[} Sun Oct 28 17:18:28 GMT 2010 \mbox{]} 
\end{DoxyAuthor}


Definition at line 56 of file StructuredMesh.hpp.



\subsubsection{Member Typedef Documentation}
\hypertarget{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!prec\_\-t@{prec\_\-t}}
\index{prec\_\-t@{prec\_\-t}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{prec\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ typedef Typeinfo$<$Tadaptor$>$::{\bf prec\_\-t} {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::{\bf prec\_\-t}}}
\label{classTuna_1_1StructuredMesh_a2466a6c86a4e811d7dff4fc63a9bb400}


Reimplemented from \hyperlink{classTuna_1_1GeneralMesh_aa7036b4f255ec46446443d26b6a770c2}{Tuna::GeneralMesh$<$ StructuredMesh$<$ Tadaptor $>$ $>$}.



Definition at line 61 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_a6f27858a7441687f42c83385efab65b9}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!intTinyArray\_\-t@{intTinyArray\_\-t}}
\index{intTinyArray\_\-t@{intTinyArray\_\-t}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{intTinyArray\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ typedef {\bf TunaArray}$<$int, Typeinfo$<$Tadaptor$>$::{\bf Dim} $>$::tiny {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::{\bf intTinyArray\_\-t}}}
\label{classTuna_1_1StructuredMesh_a6f27858a7441687f42c83385efab65b9}


Definition at line 63 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_a5d2e4898cfcf8d3d4d4366350ed0e794}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!floatTinyArray\_\-t@{floatTinyArray\_\-t}}
\index{floatTinyArray\_\-t@{floatTinyArray\_\-t}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{floatTinyArray\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ typedef {\bf TunaArray}$<${\bf prec\_\-t}, Typeinfo$<$Tadaptor$>$::{\bf Dim} $>$::tiny {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::{\bf floatTinyArray\_\-t}}}
\label{classTuna_1_1StructuredMesh_a5d2e4898cfcf8d3d4d4366350ed0e794}


Definition at line 65 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_a302a09126d84cb298a2b97e85fb031c1}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!ScalarField1D@{ScalarField1D}}
\index{ScalarField1D@{ScalarField1D}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{ScalarField1D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ typedef {\bf TunaArray}$<${\bf prec\_\-t},1$>$::huge {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::{\bf ScalarField1D}}}
\label{classTuna_1_1StructuredMesh_a302a09126d84cb298a2b97e85fb031c1}


Reimplemented from \hyperlink{classTuna_1_1GeneralMesh_a69519790ee3b38108b997cf46aa264e8}{Tuna::GeneralMesh$<$ StructuredMesh$<$ Tadaptor $>$ $>$}.



Definition at line 67 of file StructuredMesh.hpp.



\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{classTuna_1_1StructuredMesh_ab3cb2e800bddcbb41eb26abe3766e504}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!StructuredMesh@{StructuredMesh}}
\index{StructuredMesh@{StructuredMesh}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{StructuredMesh}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor $>$ {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::{\bf StructuredMesh} (
\begin{DoxyParamCaption}
\item[{{\bf prec\_\-t}}]{l1, }
\item[{int}]{e1}
\end{DoxyParamCaption}
)}}
\label{classTuna_1_1StructuredMesh_ab3cb2e800bddcbb41eb26abe3766e504}

\begin{DoxyParams}{Parameters}
{\em l1} & length of the mesh in the x-\/axis. \\
\hline
{\em e1} & number of nodes in the x-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 242 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_ad58a171e0b74c53f4edfa2426e9a09f4}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!StructuredMesh@{StructuredMesh}}
\index{StructuredMesh@{StructuredMesh}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{StructuredMesh}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor $>$ {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::{\bf StructuredMesh} (
\begin{DoxyParamCaption}
\item[{{\bf prec\_\-t}}]{l1, }
\item[{int}]{e1, }
\item[{{\bf prec\_\-t}}]{l2, }
\item[{int}]{e2}
\end{DoxyParamCaption}
)}}
\label{classTuna_1_1StructuredMesh_ad58a171e0b74c53f4edfa2426e9a09f4}

\begin{DoxyParams}{Parameters}
{\em l1} & length of the mesh in the x-\/axis. \\
\hline
{\em e1} & number of nodes in the x-\/axis. \\
\hline
{\em l2} & length of the mesh in the y-\/axis. \\
\hline
{\em e2} & number of nodes in the y-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 257 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_a595567d6c34e6a3bcc563edcac57dad7}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!StructuredMesh@{StructuredMesh}}
\index{StructuredMesh@{StructuredMesh}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{StructuredMesh}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor $>$ {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::{\bf StructuredMesh} (
\begin{DoxyParamCaption}
\item[{{\bf prec\_\-t}}]{l1, }
\item[{int}]{e1, }
\item[{{\bf prec\_\-t}}]{l2, }
\item[{int}]{e2, }
\item[{{\bf prec\_\-t}}]{l3, }
\item[{int}]{e3}
\end{DoxyParamCaption}
)}}
\label{classTuna_1_1StructuredMesh_a595567d6c34e6a3bcc563edcac57dad7}

\begin{DoxyParams}{Parameters}
{\em l1} & length of the mesh in the x-\/axis. \\
\hline
{\em e1} & number of nodes in the x-\/axis. \\
\hline
{\em l2} & length of the mesh in the y-\/axis. \\
\hline
{\em e2} & number of nodes in the y-\/axis. \\
\hline
{\em l3} & length of the mesh in the z-\/axis. \\
\hline
{\em e3} & number of nodes in the z-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 279 of file StructuredMesh.hpp.



\subsubsection{Member Function Documentation}
\hypertarget{classTuna_1_1StructuredMesh_a621b58febbf4e84dc7db8c32f29a552f}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!resize@{resize}}
\index{resize@{resize}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{resize}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor $>$ void {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::resize (
\begin{DoxyParamCaption}
\item[{{\bf prec\_\-t}}]{l1, }
\item[{int}]{e1}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1StructuredMesh_a621b58febbf4e84dc7db8c32f29a552f}

\begin{DoxyParams}{Parameters}
{\em l1} & length of the mesh in the x-\/axis. \\
\hline
{\em e1} & number of nodes in the x-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 314 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_aeaa8633534592ed5c4f4d372248b9b70}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!resize@{resize}}
\index{resize@{resize}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{resize}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor $>$ void {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::resize (
\begin{DoxyParamCaption}
\item[{{\bf prec\_\-t}}]{l1, }
\item[{int}]{e1, }
\item[{{\bf prec\_\-t}}]{l2, }
\item[{int}]{e2}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1StructuredMesh_aeaa8633534592ed5c4f4d372248b9b70}

\begin{DoxyParams}{Parameters}
{\em l1} & length of the mesh in the y-\/axis. \\
\hline
{\em e1} & number of nodes in the y-\/axis. \\
\hline
{\em l2} & length of the mesh in the z-\/axis. \\
\hline
{\em e2} & number of nodes in the z-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 329 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_ac2e97865db876f312d8692555fc12de8}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!resize@{resize}}
\index{resize@{resize}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{resize}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor $>$ void {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::resize (
\begin{DoxyParamCaption}
\item[{{\bf prec\_\-t}}]{l1, }
\item[{int}]{e1, }
\item[{{\bf prec\_\-t}}]{l2, }
\item[{int}]{e2, }
\item[{{\bf prec\_\-t}}]{l3, }
\item[{int}]{e3}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1StructuredMesh_ac2e97865db876f312d8692555fc12de8}

\begin{DoxyParams}{Parameters}
{\em l1} & length of the mesh in the y-\/axis. \\
\hline
{\em e1} & number of nodes in the y-\/axis. \\
\hline
{\em l2} & length of the mesh in the z-\/axis. \\
\hline
{\em e2} & number of nodes in the z-\/axis. \\
\hline
{\em l3} & length of the mesh in the z-\/axis. \\
\hline
{\em e3} & number of nodes in the z-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 351 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_a2d38e65625c19f794c0bebd9c16d7ca5}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!getLength@{getLength}}
\index{getLength@{getLength}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{getLength}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ {\bf prec\_\-t} {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::getLength (
\begin{DoxyParamCaption}
\item[{Axis\_\-t}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1StructuredMesh_a2d38e65625c19f794c0bebd9c16d7ca5}

\begin{DoxyParams}{Parameters}
{\em i} & is X for x-\/axis, Y for y-\/axis and Z for z-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 92 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_aaba777c073533ba2c27b21c02d6f3c7e}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!getDelta@{getDelta}}
\index{getDelta@{getDelta}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{getDelta}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ {\bf prec\_\-t} {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::getDelta (
\begin{DoxyParamCaption}
\item[{Axis\_\-t}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1StructuredMesh_aaba777c073533ba2c27b21c02d6f3c7e}

\begin{DoxyParams}{Parameters}
{\em i} & is X for x-\/axis, Y for y-\/axis and Z for z-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 98 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_a0f91652c4a19682f5b91b356dea3b921}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!getExtentNodes@{getExtentNodes}}
\index{getExtentNodes@{getExtentNodes}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{getExtentNodes}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ int {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::getExtentNodes (
\begin{DoxyParamCaption}
\item[{Axis\_\-t}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1StructuredMesh_a0f91652c4a19682f5b91b356dea3b921}

\begin{DoxyParams}{Parameters}
{\em i} & is X for x-\/axis, Y for y-\/axis and Z for z-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 104 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_a9585dedb8135e52cbee25aaf5b15f851}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!getExtentVolumes@{getExtentVolumes}}
\index{getExtentVolumes@{getExtentVolumes}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{getExtentVolumes}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ int {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::getExtentVolumes (
\begin{DoxyParamCaption}
\item[{Axis\_\-t}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1StructuredMesh_a9585dedb8135e52cbee25aaf5b15f851}

\begin{DoxyParams}{Parameters}
{\em i} & is X for x-\/axis, Y for y-\/axis and Z for z-\/axis. \\
\hline
\end{DoxyParams}


Definition at line 110 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_a2ddfa0e61b676522d65e521582684a54}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!calcPoints@{calcPoints}}
\index{calcPoints@{calcPoints}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{calcPoints}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ template$<$typename Tfunct $>$ bool {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::calcPoints (
\begin{DoxyParamCaption}
\item[{Axis\_\-t}]{a, }
\item[{Tfunct}]{f, }
\item[{{\bf prec\_\-t}}]{p1 = {\ttfamily 0}, }
\item[{{\bf prec\_\-t}}]{p2 = {\ttfamily -\/1}, }
\item[{int}]{n = {\ttfamily -\/1}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1StructuredMesh_a2ddfa0e61b676522d65e521582684a54}

\begin{DoxyParams}{Parameters}
{\em a} & is X for x-\/axis, Y for y-\/axis and Z for z-\/axis. \\
\hline
{\em f} & the function that gives de distribution of the points. \\
\hline
{\em p1} & the first point of the segment (default: 0). \\
\hline
{\em p2} & the second point of the segment (default: total length). \\
\hline
{\em n} & number of points on the segment (default: total nodes). \\
\hline
\end{DoxyParams}


Definition at line 177 of file StructuredMesh.hpp.

\hypertarget{classTuna_1_1StructuredMesh_a35b23b52af6436f69566a173302482b8}{
\index{Tuna::StructuredMesh@{Tuna::StructuredMesh}!operator=@{operator=}}
\index{operator=@{operator=}!Tuna::StructuredMesh@{Tuna::StructuredMesh}}
\paragraph[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tadaptor$>$ {\bf StructuredMesh}$<$ Tadaptor $>$ \& {\bf Tuna::StructuredMesh}$<$ Tadaptor $>$::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf StructuredMesh}$<$ Tadaptor $>$ \&}]{other}
\end{DoxyParamCaption}
)}}
\label{classTuna_1_1StructuredMesh_a35b23b52af6436f69566a173302482b8}
Asignation operator. 

Definition at line 373 of file StructuredMesh.hpp.

